package yydy.pattern.structure.bridge.example;

/**
 * @author LY
 * @description: TODO
 * @title: BridgePatternDemo
 * @projectName yydy_learn
 * @date 2020/11/3
 */
public class BridgePatternDemo {
    public static void main(String[] args) {
        Shape redCircle = new Circle(100,100, 10, new RedCircle());
        Shape greenCircle = new Circle(100,100, 10, new GreenCircle());

        redCircle.draw();
        greenCircle.draw();
    }
}
